package item.inkcloud.gateway.feignclient;


import com.alibaba.fastjson.JSONObject;
import item.inkcloud.gateway.feignclient.fallback.JwtFeignClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Component
@FeignClient(value = "jwt-service" ,fallback = JwtFeignClientFallback.class)
public interface JwtFeignClient {


    @PostMapping("/jwt/checkToken")
    int checkToken(@RequestBody JSONObject jsonPara);

}
